package com.zzuli.dao;

import com.zzuli.entity.RepairInfoEntity;

import java.util.List;

public interface RepairInfoDao {
    int deleteByPrimaryKey(Integer repairId);

    int insert(RepairInfoEntity record);

    boolean insertSelective(RepairInfoEntity repairInfoEntity);

    RepairInfoEntity selectByPrimaryKey(Integer repairId);

    boolean updateByPrimaryKeySelective(RepairInfoEntity record);

    int updateByPrimaryKey(RepairInfoEntity record);

    List<RepairInfoEntity> selectAll(RepairInfoEntity repairInfoEntity);

    boolean addRepair(String deviceName);

    boolean updateRepairStatus(RepairInfoEntity repairInfoEntity);

    List<Integer> selectStatusCount();

    boolean accept(RepairInfoEntity repairInfoEntity);

//    boolean addRepair(@Param("deviceName")String deviceName, @Param("remark") String remark, @Param("spLocation") String spLocation);
}